package com.lc.YYGH.cmn.service;

import com.alibaba.excel.EasyExcel;
import com.lc.YYGH.cmn.listener.DictListener;
import com.lc.YYGH.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;
import sun.net.httpserver.HttpServerImpl;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface DictService {
    //根据id获取
    List<Dict> findChildData(Long id);
    void exportData(HttpServletResponse response);
    void importDictData(MultipartFile file);
    String getNameByParentDictCodeAndValue(String parentDictCode,String value);

    //根据节点的dictCode获取下一级节点
    List<Dict> findByDictCode(String dictCode);
}
